//
//  NotificationDetailViewController.m
//  edu
//
//  Created by baobaodp on 13-8-26.
//  Copyright (c) 2013年 baobaodp. All rights reserved.
//

#import "NotificationDetailViewController.h"
#import "Record.h"
#import "EduViewController.h"

@interface NotificationDetailViewController ()

@end

@implementation NotificationDetailViewController

@synthesize cmt;
@synthesize m_record;


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.msgTitle.text = [self.m_record getFieldValueByName:@"msg_Title"];
    self.cmt.text = [self.m_record getFieldValueByName:@"msg_Cmt"];
    self.msgDate.text = [self.m_record getFieldValueByName:@"msg_Date"];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void) setData:(Record *) record index: (int) rowIndex
{
    self.m_record= record;
}
@end
